package com.ruoyi.shop.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 店铺结算对象 store_settlement
 * 

 * @date 2023-07-23
 */
public class Settlement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 账单号 */
    @Excel(name = "账单号")
    private String billNumber;

    /** 结算时段 */
    @Excel(name = "结算时段")
    private String settlementPeriod;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String storeName;

    /** 结算金额 */
    @Excel(name = "结算金额")
    private BigDecimal settlementAmount;

    /** 状态 */
    @Excel(name = "状态")
    private Long state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBillNumber(String billNumber) 
    {
        this.billNumber = billNumber;
    }

    public String getBillNumber() 
    {
        return billNumber;
    }
    public void setSettlementPeriod(String settlementPeriod) 
    {
        this.settlementPeriod = settlementPeriod;
    }

    public String getSettlementPeriod() 
    {
        return settlementPeriod;
    }
    public void setStoreName(String storeName) 
    {
        this.storeName = storeName;
    }

    public String getStoreName() 
    {
        return storeName;
    }
    public void setSettlementAmount(BigDecimal settlementAmount) 
    {
        this.settlementAmount = settlementAmount;
    }

    public BigDecimal getSettlementAmount() 
    {
        return settlementAmount;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("billNumber", getBillNumber())
            .append("createTime", getCreateTime())
            .append("settlementPeriod", getSettlementPeriod())
            .append("storeName", getStoreName())
            .append("settlementAmount", getSettlementAmount())
            .append("state", getState())
            .toString();
    }
}
